package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;

@Table(name="DOCKER_APP_TYPE")
//@CacheProvider(groupId="groupId2", level=CacheLevel.THREADLOCAL, readOnly=false)
public class DockerAppType extends BaseEntity<Long> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2310683003493671509L;

	@Id
	@Column(name = "ID")
	private Long id;
	
	@Column(name = "APP_NAME")
	private String appName;

	@Column(name = "TENANT_CODE")
	private String tenantCode;

	/**
	 * 归类规则
	 */
	@Column(name = "RULE")
	private String rule;

	/**
	 * 概述
	 */
	@Column(name = "CONTENT")
	private String content;
	
	@Column(name="CREATE_USER_ID")
	private Long createUserId;
	
	@Column(name="CREATE_TIME")
	private String createTime;
	
	@Column(name="LAST_UPDATE_USER_ID")
	private Long lastUpdateUserId;
	
	@Column(name="LAST_UPDATE_TIME")
	private String lastUpdateTime;

	@Override
	public Long getId() {
		return id;
	}

	@Override
	public void setId(Long id) {
		this.id = id;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getLastUpdateUserId() {
		return lastUpdateUserId;
	}

	public void setLastUpdateUserId(Long lastUpdateUserId) {
		this.lastUpdateUserId = lastUpdateUserId;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getTenantCode() {
		return tenantCode;
	}

	public void setTenantCode(String tenantCode) {
		this.tenantCode = tenantCode;
	}

}
